package com.example.boke.entity;

import java.util.Date;

/**
 * @author Xdoor
 * @version 1.0
 * @date 2021/10/20 17:44
 */

public class Comment
{
    private Integer id;
    private String content;
    private String author;
    private Integer bokeId;
    private Date created;
    private Integer userId;

    @Override
    public String toString()
    {
        return "Comment{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", author='" + author + '\'' +
                ", bokeId=" + bokeId +
                ", created=" + created +
                ", userId=" + userId +
                '}';
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getContent()
    {
        return content;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public String getAuthor()
    {
        return author;
    }

    public void setAuthor(String author)
    {
        this.author = author;
    }

    public Integer getBokeId()
    {
        return bokeId;
    }

    public void setBokeId(Integer bokeId)
    {
        this.bokeId = bokeId;
    }

    public Date getCreated()
    {
        return created;
    }

    public void setCreated(Date created)
    {
        this.created = created;
    }

    public Integer getUserId()
    {
        return userId;
    }

    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }
}
